[INFO] cloning repository https://github.com/LPGhatguy/rust-c-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LPGhatguy/rust-c-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPGhatguy%2Frust-c-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPGhatguy%2Frust-c-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6f5e0790808999f2178dcf3282c777fd10b4de8e
[INFO] checking LPGhatguy/rust-c-compiler against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPGhatguy%2Frust-c-compiler" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LPGhatguy/rust-c-compiler on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/LPGhatguy/rust-c-compiler
[INFO] finished tweaking git repo https://github.com/LPGhatguy/rust-c-compiler
[INFO] tweaked toml for git repo https://github.com/LPGhatguy/rust-c-compiler written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/LPGhatguy/rust-c-compiler already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d87941c67849d865361d7b75711a85d846305a5e636fa98b2ad58c857bccdf6d
[INFO] running `Command { std: "docker" "start" "-a" "d87941c67849d865361d7b75711a85d846305a5e636fa98b2ad58c857bccdf6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d87941c67849d865361d7b75711a85d846305a5e636fa98b2ad58c857bccdf6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d87941c67849d865361d7b75711a85d846305a5e636fa98b2ad58c857bccdf6d", kill_on_drop: false }`
[INFO] [stdout] d87941c67849d865361d7b75711a85d846305a5e636fa98b2ad58c857bccdf6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2101f3693e59bc3f363798a8807d52998bae4a6c3992fcec820f459899ef6438
[INFO] running `Command { std: "docker" "start" "-a" "2101f3693e59bc3f363798a8807d52998bae4a6c3992fcec820f459899ef6438", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.34
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking lazy_static v1.0.0
[INFO] [stderr]     Checking regex-syntax v0.4.1
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking thread_local v0.3.5
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking aho-corasick v0.6.4
[INFO] [stderr]     Checking regex v0.2.3
[INFO] [stderr]     Checking rcc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/lexer.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / lazy_static! {
[INFO] [stdout] 20 | |     static ref PATTERN_WHITESPACE: Regex = Regex::new(r"^\s+").unwrap();
[INFO] [stdout] 21 | |     static ref PATTERN_KEYWORD: Regex = Regex::new(r"^(int|return)").unwrap();
[INFO] [stdout] 22 | |     static ref PATTERN_IDENTIFIER: Regex = Regex::new(r"^[a-zA-Z]\w*").unwrap();
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |     static ref PATTERN_SEMICOLON: Regex = Regex::new(r"^;").unwrap();
[INFO] [stdout] 31 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lexer.rs:52:45
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let (rest, token) = try_advance(source, pattern, |s| Token::Keyword(s)).expect("Unable to advance pattern!");
[INFO] [stdout]    |                         -----------         ^^^^^^^ expected `&Regex`, found `Regex`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lexer.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn try_advance<'a, F>(source: &'a str, pattern: &Regex, tokenizer: F) -> Option<(&'a str, Token<'a>)>
[INFO] [stdout]    |    ^^^^^^^^^^^                         ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let (rest, token) = try_advance(source, &pattern, |s| Token::Keyword(s)).expect("Unable to advance pattern!");
[INFO] [stdout]    |                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rcc` (bin "rcc" test) due to 2 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2101f3693e59bc3f363798a8807d52998bae4a6c3992fcec820f459899ef6438", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2101f3693e59bc3f363798a8807d52998bae4a6c3992fcec820f459899ef6438", kill_on_drop: false }`
[INFO] [stdout] 2101f3693e59bc3f363798a8807d52998bae4a6c3992fcec820f459899ef6438
